<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cmn">
<head>
    <base href="${pageContext.request.contextPath}/">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>电力巡检管理系统</title>
    <link rel="stylesheet" href="static/fonts/css/font-awesome.css">
    <link rel="stylesheet" href="static/css/bootstrap.css">
    <link rel="stylesheet" href="static/css/custom.css">
</head>
<body>
<div class="container">
    <div class="row" style="width: 100%">
        <!-- 导航菜单，展示个人简介和初级的功能例如登出，全屏和设置。 -->
        <div class="col-md-2  left_col">
            <div class="left_col scroll-view">

                <div class="navbar nav_title" style="border: 0;">
                    <a href="/index" class="site_title">电力巡检管理系统</a>
                </div>

                <div class="profile"><!--img_2 -->
                    <div class="profile_pic">
                        <img src=""  class="img-circle profile_img">
                    </div>
                    <div class="profile_info">
                        <span>欢迎</span>
                        <h2>${loginUser.userName}</h2>
                    </div>
                </div>
                <br>
                <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
                    <div class="menu_section">
                        <h3>General</h3>
                        <%--动态树--%>
                        <ul class="nav side-menu">
                            <li><a><i class="fa fa-home"></i> 我的工作平台 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    <li><a href="sys/get/getUser?userCode=${loginUser.userCode}" target="content">个人资料修改</a></li>
                                </ul>
                            </li>
                            <c:forEach items="${menus}" var="entry">
                                <li><a><i class="${entry.key.iconSkin}"></i> ${entry.key.name} <span class="fa fa-chevron-down"></span></a>
                                    <ul class="nav child_menu">
                                        <c:forEach items="${entry.value}" var="m">
                                            <li><a href="${m.url}" target="content">${m.name}</a></li>
                                        </c:forEach>
                                    </ul>
                                </li>
                            </c:forEach>
                        </ul>
                        <%--死树--%>
                        <%--<ul class="nav side-menu">--%>
                            <%--<li><a><i class="fa fa-home"></i> 系统管理 <span class="fa fa-chevron-down"></span></a>--%>
                                <%--<ul class="nav child_menu">--%>
                                    <%--<li><a href="sys/user/user" target="content">人员管理</a></li>--%>
                                    <%--<li><a href="sys/roleList/role" target="content">角色管理</a></li>--%>
                                <%--</ul>--%>
                            <%--</li>--%>
                            <%--<li><a><i class="fa fa-home"></i> 杆塔管理 <span class="fa fa-chevron-down"></span></a>--%>
                                <%--<ul class="nav child_menu">--%>
                                    <%--<li><a href="pole/list/pole" target="content">杆塔管理</a></li>--%>
                                <%--</ul>--%>
                            <%--</li>--%>
                            <%--<li><a><i class="fa fa-home"></i> 线路管理 <span class="fa fa-chevron-down"></span></a>--%>
                                <%--<ul class="nav child_menu">--%>
                                    <%--<li><a href="line/list/line" target="content">线路管理</a></li>--%>
                                <%--</ul>--%>
                            <%--</li>--%>
                            <%--<li><a><i class="fa fa-home"></i> 缺陷管理 <span class="fa fa-chevron-down"></span></a>--%>
                                <%--<ul class="nav child_menu">--%>
                                    <%--<li><a href="/show1" target="content">缺陷类型设置</a></li>--%>
                                    <%--<li><a href="/qxdjshow" target="content">缺陷等级确认</a></li>--%>
                                <%--</ul>--%>
                            <%--</li>--%>
                            <%--<li><a><i class="fa fa-home"></i> 巡检任务管理 <span class="fa fa-chevron-down"></span></a>--%>
                                <%--<ul class="nav child_menu">--%>
                                    <%--<li><a href="/rwshow" target="content">巡检任务制定与分配</a></li>--%>
                                    <%--<li><a href="" target="content">巡检任务执行与回执</a></li>--%>
                                    <%--<li><a href="sys/user/user" target="content">缺陷查询</a></li>--%>
                                <%--</ul>--%>
                            <%--</li>--%>
                            <%--<li><a><i class="fa fa-home"></i> 消缺任务管理 <span class="fa fa-chevron-down"></span></a>--%>
                                <%--<ul class="nav child_menu">--%>
                                    <%--<li><a href="/skm/SolvetaskMain/skm" target="content">消缺任务制定与分配</a></li>--%>
                                    <%--<li><a href="sys/user/user" target="content">消缺任务执行与回执</a></li>--%>
                                    <%--<li><a href="sys/user/user" target="content">消缺查询</a></li>--%>
                                <%--</ul>--%>
                            <%--</li>--%>
                            <%--<li><a><i class="fa fa-home"></i> 信息统计 <span class="fa fa-chevron-down"></span></a>--%>
                                <%--<ul class="nav child_menu">--%>
                                    <%--<li><a href="sys/user/user" target="content">巡检记录统计</a></li>--%>
                                    <%--<li><a href="sys/user/user" target="content">消缺记录统计</a></li>--%>
                                <%--</ul>--%>
                            <%--</li>--%>
                        <%--</ul>--%>
                    </div>
                </div>
                <div class="sidebar-footer hidden-small">
                    <a data-toggle="tooltip" data-placement="top" title="Settings">
                        <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
                    </a>
                    <a data-toggle="tooltip" data-placement="top" title="FullScreen">
                        <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
                    </a>
                    <a data-toggle="tooltip" data-placement="top" title="Lock">
                        <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
                    </a>
                    <a data-toggle="tooltip" data-placement="top" title="Logout" href="${pageContext.request.contextPath}/sys/logout">
                        <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
                    </a>
                </div>
            </div>
        </div>
        <!-- 标题和页面内容是被主要内容包裹着的 -->
        <div class="col-md-10  right_col" role="main">
            <div class="">
                <div class="page-title">
                    <div class="title_left">
                        <h3>
                            专业 <small>专注 </small>
                        </h3>
                    </div>

                    <div class="title_right">
                        <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                            <div class="input-group">
                                <input type="text" class="form-control" placeholder="Search for...">
                                <span class="input-group-btn">
                            <button class="btn btn-default" type="button">Go!</button>
                        </span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="clearfix"></div>

                <div class="row">
                    <div class="col-md-12">
                        <div class="x_panel">
                            <div class="x_title">
                                <h2><span id="pageTitle"></span><small id="pageSubTitle"></small></h2>
                                <ul class="nav navbar-right panel_toolbox">
                                    <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
                                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
                                            <i class="fa fa-wrench"></i>
                                        </a>
                                        <ul class="dropdown-menu" role="menu">
                                            <li><a href="#">Settings 1</a></li>
                                            <li><a href="#">Settings 2</a></li>
                                        </ul>
                                    </li>
                                    <li><a class="close-link"><i class="fa fa-close"></i></a></li>
                                </ul>
                                <div class="clearfix"></div>
                            </div>
                            <!-- content starts here -->
                            <div class="x_content" style="height:580px;">
                                <iframe name="content" width="100%" height="100%" scrolling="yes" frameborder="0"></iframe>
                                <!-- content ends here -->
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="static/js/jquery-1.12.4.js"></script>
<script type="text/javascript" src="static/js/bootstrap.js"></script>
<script type="text/javascript" src="static/js/custom.js"></script>
</body>
</html>